package com.builder;

import com.builder.face.PersonBuilder;

/**
 * Director：构造一个使用Builder接口的对象。
 * 
 * @author dell
 * 
 */
public class PersonDirector {

	public Person constructPerson(PersonBuilder pb) {
		pb.buildHead();
		pb.buildBody();
		pb.buildFoot();
		return pb.buildPerson();
	}

}
